Skip to content

Fix a typo in tutorial exception output#126001

Merged
Eclips4 merged 1 commit into
python:mainfrom
bogdanap:bogdanap-patch-1
Oct 26, 2024
Merged

Fix a typo in tutorial exception output#126001
Eclips4 merged 1 commit into
python:mainfrom
bogdanap:bogdanap-patch-1

Conversation

@bogdanap

@bogdanap bogdanap commented Oct 26, 2024

Copy link
Copy Markdown
Contributor

This fixes a small typo on Errors page of the tutorial.

The output of the method call does not currently match its arguments:

   >>> divide("2", "1")
   executing finally clause
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
       divide("2", "0")

📚 Documentation preview 📚: https://cpython-previews--126001.org.readthedocs.build/

@ghost

ghost commented Oct 26, 2024

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news awaiting review labels Oct 26, 2024
@Eclips4 Eclips4 added the needs backport to 3.13 bugs and security fixes label Oct 26, 2024

@Eclips4 Eclips4 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Eclips4 Eclips4 merged commit a78d5b3 into python:main Oct 26, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @bogdanap for the PR, and @Eclips4 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 26, 2024
…126001)

(cherry picked from commit a78d5b3)

Co-authored-by: Bogdana Vereha <bogdanap@github.com>
@bedevere-app

bedevere-app Bot commented Oct 26, 2024

Copy link
Copy Markdown

GH-126009 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Oct 26, 2024
Eclips4 pushed a commit that referenced this pull request Oct 26, 2024
…-126001) (#126009)

Fix a typo in ``Doc/tutorial/errors.rst`` exception output (GH-126001)
(cherry picked from commit a78d5b3)

Co-authored-by: Bogdana Vereha <bogdanap@github.com>
ebonnal pushed a commit to ebonnal/cpython that referenced this pull request Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants